<?php
/**
 * Created by PhpStorm.
 * User: 技术员专用
 * Date: 2019/3/14
 * Time: 15:44
 */
$process=new swoole_process(function (swoole_process $pro){
    //todo
    $pro->exec('/www/server/php/72/bin/php',[__DIR__.'/../server/http_server.php']);
},false);

$pid=$process->start();
echo $pid.PHP_EOL;

swoole_process::wait();